1 : <?php
2 : /*--------------------------------------------------------------------------+
3 : This file is part of eStudy.
4 : suchmaschine/classes/iface.indexer.inc.php
5 : - Modulgruppe: Suche
6 : - Beschreibung: In dieser Datei wird das Interface IIndexer implementiert.
7 : - Version: 0.1 01/08/08
8 : - Autor(en): Jörg Rieger
9 : +---------------------------------------------------------------------------+
10 : This program is free software; you can redistribute it and/or
11 : modify it under the terms of the GNU General Public License
12 : as published by the Free Software Foundation; either version 2
13 : of the License, or any later version.
14 : +---------------------------------------------------------------------------+
15 : This program is distributed in the hope that it will be useful,
16 : but WITHOUT ANY WARRANTY; without even the implied warranty of
17 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 : GNU General Public License for more details.
19 : You should have received a copy of the GNU General Public License
20 : along with this program; if not, write to the Free Software
21 : Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 : +--------------------------------------------------------------------------*/
23 : /**
24 : * Path to Root falls nicht gesetzt
25 : */
26 1 : if (!defined('PATH_TO_ROOT'))
27 1 : define("PATH_TO_ROOT", "../../");
28 :
29 : /**
30 : * IIndexer Interface
31 : *
32 : * @package eStudy.Suchmaschine
33 : * @version 0.1 01/08/08
34 : * @author Jörg Rieger
35 : */
36 :
37 1 : interface IIndexer {
38 :
39 : /**
40 : * Öffnen der Datei
41 : *
42 : * @access public
43 : */
44 : public function open( $fileName );
45 :
46 : /**
47 : * Lesen der Datei
48 : *
49 : * @access public
50 : */
51 : // public function read();
52 :
53 : /**
54 : * Inhalt zurückgeben
55 : *
56 : * @access public
57 : * @return string
58 : */
59 : public function getContent();
60 :
61 : /**
62 : * Schliessen der Datei
63 : *
64 : * @access public
65 : */
66 : public function close();
67 :
68 : /**
69 : * Temporäre Dateien entfernen
70 : *
71 : * @access public
72 : */
73 : public function cleanup();
74 :
75 : }
|